package com.zx.mes.oauth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Oauth2 application
 * ClientCredentialsTokenEndpointFilter  对客户端凭证进行校验
 *
 * @author 华云龙
 * @date 2019-2-15
 */
@SpringBootApplication(scanBasePackages = {"com.zx.mes"})
@EnableDiscoveryClient
@EnableFeignClients
public class OauthApplication {
    public static void main(String[] args) {
        SpringApplication.run(OauthApplication.class, args);
    }
}
